home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: ToolBar
- @Property: buttonWidth - use this property to get and set
- the button width in a toolbar.
- @Syntax: toolbar.buttonWidth
- @Summary: buttonWidth - use this property to get and set the button width in a toolbar
- */
-
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("toolbar.buttonWidth", selection);
- editor.setActive("Insert toolbar.buttonWidth");
- }
- }
-
- !!/Script
-